package com.youlu.campus.service.activity;

import com.youlu.campus.entity.ActivityStatistics;
import com.youlu.campus.entity.VO.req.ActivityStatisticsQueryVO;
import org.springframework.data.domain.Page;

public interface ActivityStatisticsService {

    Page<ActivityStatistics> list(ActivityStatisticsQueryVO req);

    ActivityStatistics findOne(String id, String userName);

    ActivityStatistics findByActivityId(String id);

    void increActivityStatistics(String activityId, ActivityStatistics req);

    /**
     * 初始化活动统计类型
     */
    void initActivityStatisticsType();

    /**
     * 更新报名人数-用于第三方报名活动
     * @param id
     * @param userSignUpCount
     */
    void updateUserSignUpCount(String id,Integer userSignUpCount);
}
